Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


classHasAttribute

This function checks whether or not a specified attribute or event exists for a class.

Location: ry\app\rydesmngrp.i

Parameters:

INPUT pcClassName AS CHARACTER

The class name.

INPUT pcAttributeOrEventName AS CHARACTER

The name of the attribute or event to be checked.

INPUT plAttributeIsEvent AS LOGICAL

Whether or not pcAttributeOrEventName is an event.

Returns: LOGICAL

Notes: There is also a classHasAttribute function in Repository Manager. But that function only checks for run-time attributes. Use this function in tools that must check design-time attributes.

Examples: See the generateCalculatedField procedure in ry\app\rygenomngp.p.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095